﻿
/**
 * AUTO GENERATE BY UI EDITOR.
 * WARNING: DO NOT MODIFY THIS FILE,MAY CAUSE CODE LOST.
 * ATTENTION: onStart 等UI脚本自带函数不可改写为异步执行，有需求的异步逻辑请使用函数封装，通过函数接口在内部使用
 * UI: UI/PlayerHeadUI.ui
*/



@UIBind('UI/PlayerHeadUI.ui')
export default class PlayerHeadUI_Generate extends UIScript {
		private txt_name_Internal: mw.TextBlock
	public get txt_name(): mw.TextBlock {
		if(!this.txt_name_Internal&&this.uiWidgetBase) {
			this.txt_name_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/txt_name') as mw.TextBlock
		}
		return this.txt_name_Internal
	}
	private con_title_Internal: mw.Canvas
	public get con_title(): mw.Canvas {
		if(!this.con_title_Internal&&this.uiWidgetBase) {
			this.con_title_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_title') as mw.Canvas
		}
		return this.con_title_Internal
	}
	private img_title_bg_Internal: mw.Image
	public get img_title_bg(): mw.Image {
		if(!this.img_title_bg_Internal&&this.uiWidgetBase) {
			this.img_title_bg_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_title/img_title_bg') as mw.Image
		}
		return this.img_title_bg_Internal
	}
	private txt_title_Internal: mw.TextBlock
	public get txt_title(): mw.TextBlock {
		if(!this.txt_title_Internal&&this.uiWidgetBase) {
			this.txt_title_Internal = this.uiWidgetBase.findChildByPath('RootCanvas/con_title/txt_title') as mw.TextBlock
		}
		return this.txt_title_Internal
	}


 
	/**
	* onStart 之前触发一次
	*/
	protected onAwake() {
	}
	 
}
 